//
//  ViewController.h
//  OCAndJS
//
//  Created by  Mac on 2017/8/8.
//  Copyright © 2017年  Mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewController : UIViewController

// 标题
@property (nonatomic,copy) NSString * webTitleString;

// 加载类型
@property (nonatomic,copy) NSString * webUrlString; // 网址类型
@property (nonatomic,copy) NSString * webLocalResourceName; // 本地html文件类型
@property (nonatomic,copy) NSString * webHTMLString;    // Html字符串类型

//  初始化方式
- (instancetype)initWithTitle:(NSString *)titleString urlString:(NSString *)urlString;
- (instancetype)initWithTitle:(NSString *)titleString localResourceName:(NSString *)localResourceName;
- (instancetype)initWithTitle:(NSString *)titleString htmlString:(NSString *)htmlString;


@end

